import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class BIOClient {

    public static String HOST = "127.0.0.1";

    public static void main(String[] args) throws IOException {

        Socket socket = new Socket(HOST, BIOServer.PORT);

        OutputStream outputStream = socket.getOutputStream();

        String content = "hello world";
        outputStream.write(content.getBytes());
        outputStream.flush();
        outputStream.close();
        socket.close();

    }

}
